package com.ruoyi.system.mapper;

import com.ruoyi.common.core.domain.entity.StoreInDetail;
import com.ruoyi.common.core.domain.entity.VendorSettlementSearch;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: ruohao
 * @Date: 2023/10/12
 **/
public interface StoreInDetailMapper {
    List<StoreInDetail> selectList(StoreInDetail storeInDetail);

    int deleteById(Long id);

    int update(StoreInDetail storeInDetail);

    int insert(StoreInDetail storeInDetail);

    StoreInDetail selectById(Long id);

    List<StoreInDetail> selectListByDate(@Param("panTime") String panTime, @Param("today") String today, @Param("resourceId") Long resourceId);

    List<StoreInDetail> selectListByConfirm(StoreInDetail inStore);

    List<VendorSettlementSearch> selectSettlementListByDate(@Param("panTime") String panTime, @Param("today") String today);
}
